package dk.aiszone.lang.sql;

/**
 * <code>SQLObject</code> representing the <i>like</i> operator in SQL.<br>
 * The <code>SQLLike</code> object automatically encapsules the value in quotes.
 * 
 * @author ads
 */
public class SQLLike extends SQLEquals {

    /**
     * See {@link SQLEquals#SQLEquals(SQLAssignableField)}
     * 
     * @param field
     *            See <code>SQLEquals</code> constructor
     */
    public SQLLike(SQLAssignableField field) {
        super(field);
    }

    @Override
    protected String getOperator() {
        return " LIKE ";
    }
}